package com.dao;

import com.entity.ReplyAgainInfo;

import java.util.List;

/**
 * 帖子再次回复
 *
 * @author lbb
 * @version 1.0
 * @date 2020.3.2
 */
public interface ReplyAgainInfoDao {
	/**
	 * 通过回复ID的到全部的再次回复
	 *
	 * @param replyId 回复ID
	 * @return List<ReplyAgainInfo>
	 */
	List<ReplyAgainInfo> getAllReplyAgainInfo(Integer replyId);
	
	/**
	 * 添加再次回复
	 *
	 * @param replyAgainInfo 再次回复信息
	 * @return Boolean
	 */
	Boolean addReplyAgainInfo(ReplyAgainInfo replyAgainInfo);
	
	/**
	 * 通过回复ID删除再次回复
	 *
	 * @param replyId 回复ID
	 * @return Boolean
	 */
	Boolean delAllReplyAgainInfo(Integer replyId);
}
